import request from '@/utils/request'

export const ShippingService = {
  getShippingTracking(orderId: number) {
    return request.get(`/api/shipping/tracking/${orderId}`)
  },
  
  updateShippingStatus(orderId: number, data: {
    company: string,
    trackingNo: string,
    status: string
  }) {
    return request.put(`/api/shipping/tracking/${orderId}`, data)
  }
} 